export default function ({ route, redirect, store,to }) {
  if (to !== '/' && !store.state.user.id) {
    return redirect('/')
  }

}
